<?php

class CrontabController extends \App\controllers\BaseController
{
    /** php .\cli.php --module=cli --controller=crontab --action=test --param="name:JohnDoe,age:30,location:NY" */
    public function testAction()
    {
        echo "<pre>";print_r($this->getRequest()->getParams());exit;
        $logger = \Yaf\Registry::get('logger');
        $logger->info("crontab");
        echo "This is the crontab";
        // 其他代码
    }
}